Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend flake8 and address some issues #745

Merged
merged 2 commits into from
Nov 28, 2021
Merged

Extend flake8 and address some issues #745

merged 2 commits into from
Nov 28, 2021

Conversation

michaeljones
Copy link
Collaborator

Simplify and extend the number of files (only a little) that flake8 checks.

And disable some of them. The parser files have a pattern of extra code
without 2 blank lines following the classes so we disable that warning
for the file.

There is still room to expand this to the test folder and the
documentation if desired.
It seems that '# flake: noqa' disables everything for the file even if
include specific codes to disable and expect the rest to apply. This
seems more successful at just disabling particular codes. Oddly not
documented (that I could find) but covered here:

  https://stackoverflow.com/a/54454433/98555
@jakobandersen jakobandersen merged commit 26844b7 into master Nov 28, 2021
@jakobandersen jakobandersen deleted the flake8 branch November 28, 2021 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants